package org.mysocial.services.dao;

import java.io.Serializable;

public interface GenericDAO<T, ID extends Serializable>
{
	public void clear();

	T findById(ID id);

	public void flush();

	public Class<T> getPersistentClass();

	public abstract void merge(T entity);

	T persist(T entity);

	public void remove(T entity);
}
